home *** CD-ROM | disk | FTP | other *** search
- Path: news.uh.edu!usenet
- From: BSamuel@uh.edu (Binoy K. Samuel)
- Newsgroups: comp.lang.c
- Subject: Why doesn't this compile?
- Date: 17 Mar 1996 06:48:41 GMT
- Organization: University of Houston
- Message-ID: <4igck9$idj@masala.cc.uh.edu>
- NNTP-Posting-Host: s258.hilton.uh.edu
- Mime-Version: 1.0
- X-Newsreader: WinVN 0.93.14
-
- Hi:
-
- I am taking a C class this semester.
-
- And I have just written a program that runs (more or less) quite well.
-
- However, when I try to compile it, I get the following error:
-
- "Call to function 'evalchar' with no prototype"
-
- Why does this happen? 'Evalchar' is a function that I wrote. What
- prototype should I be looking for.
-
- Here's the function header line:
-
- char evalchar(cnum)
- int cnum;
-
- I'm using Borland C++'s C compiler.
-
- Please e-mail me if you can. This is the first time I'm writing to this
- newsgroup: I don't usually look here that often.
-
- Thank you.
-
- Sincerely,
-
- Binoy
-
-
-